package com.guigu.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.erp.dto.ManufactureManufactureDto;
import com.guigu.erp.pojo.ManufactureManufacture;
import com.guigu.erp.utils.PageUtils;
import com.guigu.erp.vo.ManufactureApplyVo;

public interface ManufactureManufactureService extends IService<ManufactureManufacture> {
    /**
     * 获取Id最大产品档案的产品编号的流水号
     * @return
     */
    String getMaxFlowNumber();

    /**
     * 1.修改生产计划表派工标志位
     * 2.生产总表添加数据
     * 3.生产工序表添加数据
     * 4.生产工序明细添加数据
     */
    boolean addManufactured(ManufactureManufactureDto dto);

    /**
     * 查询所有
     */
    PageUtils<ManufactureManufacture> getAll(ManufactureApplyVo vo,Integer pageNo,Integer pageSize);
}
